package repo

import (
	"context"
	"grpc-common/search/types/search"
	"listenboos-common/kafka/model"
	m "search/model"
)

type SearchAlbumRepo interface {
	Search(ctx context.Context, keywords []string) ([]model.AlbumInfo, error)
	InputAlbum(ctx context.Context, art model.AlbumInfo) error
	SearchChannel(ctx context.Context, keywords []string) ([]model.AlbumInfo, error)
	SearchAlbumInfo(ctx context.Context, req *search.AlbumInfoReq, PageNo int64, pageSize int64) ([]model.AlbumInfo, int64, int64, error)
	KeyWord(ctx context.Context, Keywords []string) ([]string, error)
	FindAlbumInfo(ctx context.Context, keyWord string) (m.Album, error)
	UpdateRanking(ctx context.Context, category1Id int64, dimension string) ([]model.AlbumInfo, error)
}
